How can I correctly reverse an array in React using JavaScript

visit shbcf.ru